Skip to content

Conversation

adamkondraciuk
Copy link
Contributor

MCUBOOT requires LTO to be enabled, while using code relocation forces switching it off. When __ramfunc is used, LTO can also be used. Then the cache_retain_and_sleep function will work correctly, but slightly slower.

MCUBOOT requires LTO to be enabled, while using code relocation
forces switching it off. When `__ramfunc` is used, LTO can also
be used. Then the `cache_retain_and_sleep` function will work
correctly, but slightly slower.

Signed-off-by: Adam Kondraciuk <[email protected]>
Copy link

sonarqubecloud bot commented Oct 7, 2025

@cfriedt cfriedt merged commit 0a8a8a6 into zephyrproject-rtos:main Oct 9, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants